package com.robam.gulimall.product.feign;

import com.robam.common.to.SkuReductionTo;
import com.robam.common.to.SpuBoundTo;
import com.robam.common.utils.R;
import org.springframework.stereotype.Component;

@Component
public class FallbackService implements CouponClient {
    @Override
    public R saveSpuBounds(SpuBoundTo spuBoundTo) {
        System.out.println("CouponClient saveSpuBounds fail");
        return R.error("CouponClient saveSpuBounds fail");
    }

    @Override
    public R saveSkuReduction(SkuReductionTo skuReductionTo) {
        System.out.println("CouponClient saveSkuReduction fail");
        return R.error("CouponClient saveSkuReduction fail");
    }
}
